package com.wc.alorithm_luogu.P1421;

import java.util.Scanner;

/**
 * @Author congge
 * @Date 2023/4/17 20:24
 * @description
 * https://www.luogu.com.cn/problem/P1421
 * 小玉买文具
 */
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int ans = (a * 10 + b)/19;
        System.out.println(ans);
    }
}
